import dayjs from 'dayjs'
import 'dayjs/locale/zh-cn'

export default function globalProperties(app) {
  dayjs.locale('zh-cn')
  app.config.globalProperties.$dayjs = dayjs
  app.config.globalProperties.$toast = Toast
  app.config.globalProperties.$dialog = Dialog
}
